<?php
namespace LRC\TwigExtensions;

/**
 * @package Label
 * @version 1.0.0.0
 * @author J.Minchev
 * @internal 
 * @todo
 */
class Languages implements \sCore\TwigExtensions\ExtensionI {

	private $TwigEnvironment;

	public function setTwigEnvironment(\Twig_Environment $Loader) {
		$this->TwigEnvironment = $Loader;
	}

	public function load() {
		$this->TwigEnvironment->addGlobal('LRCSupport', new LRCSupport());	
	}

}